package com.ctrip.ec.biz.entity.member;

import java.sql.Timestamp;

/**
 * Created by jiangzy on 2018/10/15.
 */
public class MemberSession extends  MemberEntity {

    public  MemberSession(){}
    public  MemberSession(MemberEntity entity){
        for(String col : entity.property().getColumns()){
            this.fieldValue(col,entity.fieldValue(col));
        }
    }

    private Timestamp lastVisit;

    public Timestamp getLastVisit() {
        return lastVisit;
    }

    public void setLastVisit(Timestamp lastVisit) {
        this.lastVisit = lastVisit;
    }
}
